{block name="admin_paypal3_admin_paypal_configuration"} {block name="admin_paypal3_admin_paypal_configuration_styles"} {literal}
{/literal} {/block} {block name="admin_paypal3_admin_paypal_configuration_wrapper"}
{block name="admin_paypal3_admin_paypal_configuration_general"}
{block name="admin_paypal3_admin_paypal_configuration_title"}
##cfg_general
{/block}
{block name="admin_paypal3_admin_paypal_configuration_general_form"}
{block name="admin_paypal3_admin_paypal_configuration_general_form_client_id_live"}
##cfg_client_id_live
{/block} {block name="admin_paypal3_admin_paypal_configuration_general_form_secret_live"}
##cfg_secret_live
{/block} {block name="admin_paypal3_admin_paypal_configuration_general_form_use_paypal_plus"}
##cfg_use_paypal_plus ##do_use_paypal_plus##do_not_use_paypal_plus
{/block} {block name="admin_paypal3_admin_paypal_configuration_general_form_submit"}
{/block}
{/block}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert"}
{block name="admin_paypal3_admin_paypal_configuration_expert_title"}
##cfg_expert
{/block}
{block name="admin_paypal3_admin_paypal_configuration_expert_form"} {block name="admin_paypal3_admin_paypal_configuration_expert_form_orders_statuses"}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_orders_statuses_title"}
##cfg_orders_statuses
{/block}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_orders_statuses_orderstatus_completed"}
##cfg_orderstatus_completed
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_orders_statuses_orderstatus_pending"}
##cfg_orderstatus_pending
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_orders_statuses_orderstatus_error"}
##cfg_orderstatus_error
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_orders_statuses_submit"}
{/block}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_thirdparty_payments"}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_thirdparty_payments_title"}
##cfg_thirdparty_payments
{/block}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_thirdparty_payments_invoice_mode"}
##cfg_thirdparty_invoice_mode ##cfg_thirdparty_mode_paywall##cfg_thirdparty_mode_external
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_thirdparty_payments_cod_mode"}
##cfg_thirdparty_cod_mode ##cfg_thirdparty_mode_paywall##cfg_thirdparty_mode_external
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_thirdparty_payments_moneyorder_mode"}
##cfg_thirdparty_moneyorder_mode ##cfg_thirdparty_mode_paywall##cfg_thirdparty_mode_external
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_thirdparty_payments_eustandardtransfer_mode"}
##cfg_thirdparty_eustandardtransfer_mode ##cfg_thirdparty_mode_paywall##cfg_thirdparty_mode_external
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_thirdparty_payments_cash_mode"}
##cfg_thirdparty_cash_mode ##cfg_thirdparty_mode_paywall##cfg_thirdparty_mode_external
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_thirdparty_payments_submit"}
{/block}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options"}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_title"}
##cfg_advanced_options
{/block}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_use_ecs_title"}

##cfg_use_ecs_heading

{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_use_ecs_products"}
##cfg_use_ecs_products ##cfg_on##cfg_off
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_use_ecs_cart"}
##cfg_use_ecs_cart ##cfg_on##cfg_off
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_use_ecs_button_style"}
##cfg_ecs_button_style
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_installments_title"}

##cfg_installments

{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_installments_presentment_specific_product"}
##cfg_installments_presentment_specific_product ##cfg_on##cfg_off
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_installments__presentment_specific_cart"}
##cfg_installments_presentment_specific_cart ##cfg_on##cfg_off
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_installments_presentment_specific_payment"}
##cfg_installments_presentment_specific_payment ##cfg_on##cfg_off
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_installments_presentment_specific_computed"}
##cfg_installments_presentment_specific_computed ##cfg_on##cfg_off
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_advanced_options_installments_submit"}
{/block}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous"}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous_title"}
##cfg_miscellaneous
{/block}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous_intent_for_ecmecs"}
##cfg_intent_for_ecmecs
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous_intent_for_installments"}
##cfg_intent_for_installments
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous_allow_ecs_login"}
##cfg_allow_ecs_login ##do_allow_ecs_login##do_not_allow_ecs_login
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous_require_instant_funding"}
##cfg_require_instant_funding
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous_selfpickup"}
##cfg_allow_selfpickup
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_miscellaneous_save"}
{/block}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools"}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_title"}
##cfg_devtools
{/block}
{block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_mode"}
##cfg_mode ##cfg_mode_sandbox##cfg_mode_live
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_note"}
##note
##cfg_note_sandbox
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_client_id_sandbox"}
##cfg_client_id_sandbox
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_secret_sandbox"}
##cfg_secret_sandbox
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_debug_logging"}
##cfg_debug_logging ##debug_logging_on##debug_logging_off
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_submit"}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_form_devtools_connection_check"}

##connect_check_url | ##connect_check_result
--- | ---
{foreach from=$connect_check_urls item=url}
{$url} | ##checking_connectivity
{/foreach}

{/block}
{/block} {/block} {if $login_valid == true} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration"}
{block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_title"}
##webhook_configuration
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body"}
{if !$ssl_enabled} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_ssl_enabled"}

##note_ssl_disabled

##note_check_url_accessibility

    {$webhook_test_url}

{/block} {/if} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_explanation"}

##note_webhooks_explanation

{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_table"}

{if $webhook_id}
##active_webhook_id | {$webhook_id}
##webhook_status | {if $webhook_id_is_valid}##webhook_status_ok{else}##webhook_status_invalid{/if}
{else}
##webhook_status | ##webhook_not_registered
{/if}

{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_submit"}
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_active_title"}

##webhooks_active

{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_active_table"}

{block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_active_table_thead"}
{block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_active_table_thead_ths"} ##webhook_id | ##webhook_url | ##webhook_events {/block}
--- | --- | ---
{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_active_table_tbody"}
{foreach from=$webhooks->webhooks item=hook} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_active_table_row"}
{block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_active_table_row_tds"} {$hook->id} | {$hook->url} | {foreach from=$hook->event_types item=etype} {$etype->name} {/foreach} {/block}
{/block} {/foreach}
{/block}

{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_status_update_title"}

##note_status_update

{/block} {block name="admin_paypal3_admin_paypal_configuration_expert_webhook_configuration_body_status_update_pre"}

    {$status_update_url}

{/block}
{/block}
{/block} {if $pex_block}{$pex_block}{/if} {/if}
{* accordion-block cfg_expert *} {/block} {if $debug_output} {/if}
{/block} {block name="admin_paypal3_admin_paypal_configuration_scripts"} {literal}
{/literal} {/block} {/block}